{extend name="Common/common" /}

{block name="style"}

{/block}

{block name="content"}
<div>
    <a href="{:url('@admin/judge')}" class="layui-btn">新增评审</a>
</div>
<hr class="layui-bg-green">
<table class="layui-table">
    <colgroup>
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>序号</th>
        <th>头像</th>
        <th>名称</th>
        <th>介绍</th>
        <th>账号</th>
        <th>密码</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name="judges" id="v"}
    <tr>
        <td style="width: 5%;">{$v['id']}</td>
        <td style="width: 14%;"><img width="80" src="{$v['facepic']}" alt=""></td>
        <td style="width: 10%;white-space: nowrap;overflow: hidden">{:mb_substr($v['name'], 0, 15, 'utf-8')}</td>
        <td style="width: 20%;white-space: nowrap;">{:mb_substr($v['desc'], 0, 15, 'utf-8')}</td>
        <td>{$v['account']}</td>
        <td>{$v['password']}</td>
        <td style="width: 15%;">
            <a href="{:url('@admin/judge/'.$v['id'].'/edit')}" class="layui-btn layui-btn-normal">编辑</a>
            <form action="{:url('@admin/judge/'.$v['id'])}" method="post" class="layui-inline">
                <input type="hidden" name="_method" value="delete">
                <input type="submit" class="layui-btn layui-btn-danger" value="删除">
            </form>
        </td>
    </tr>
    {/volist}
    </tbody>
</table>
{/block}

{block name="script"}

{/block}